package org.jsola.hr.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.entity.BaseDeleteDO;
import org.jsola.core.entity.Key;

import java.util.Date;
import javax.persistence.Table;

/**
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Table(name = "hr_emp_certificate")
@Key(UUID = true)
public class EmpCertificateDO extends BaseDeleteDO<String> {

    private static final long serialVersionUID = 1L;

    /**
     * 员工ID
     */
    private String empId;
    /**
     * 证书类别(1:职业资格证书,2:专业资格证书,3:其他)
     */
    private Integer type;
    /**
     * 证书名称
     */
    private String name;
    /**
     * 资格等级(职称)
     */
    private String level;
    /**
     * 证书编号
     */
    private String number;
    /**
     * 证书起始时间
     */
    private Date startTime;
    /**
     * 证书失效时间
     */
    private Date endTime;
    /**
     * 证书备注
     */
    private String remark;
    /**
     * 公司id
     */
    private String companyId;



}

